<template>
  <div class="bg">
    <img
      src="../static/img/utils/no-data.png"
      alt=""
      class="no-data"
    >
    <p class="mt30 tc">
      {{ text }}
    </p>
  </div>
</template>

<script>
export default {
  name: 'NoData',
  props: {
    text: {
      type: String,
      default: '还没有形象，快去创建吧~'
    }
  }
}
</script>

<style scoped>
  .bg {
    width: 100%;
    height: 227px;
    background: #FFFDF7;
    border-radius: 30px;
    overflow: hidden;
    color: #D1D1D1;
  }

  .no-data {
    display: block;
    width: 125px;
    margin: 50px auto;
  }
</style>
